package com.cloud.entity.mes;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author admin
 */
@Data
@Entity
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "mes_qm_maintenance")
public class MesQmMaintenance {

    @Id
    @Column(name = "id")
    private Integer id;

    /**
     * 维修措施
     */
    private String maintenanceMeasures;

    /**
     * 故障描述
     */
    private String faultDescription;

    /**
     * 维修结论
     */
    private String maintenanceResult;

    /**
     * 更换配件 0 否 1 是
     */
    private Integer changeAccessory;

    private String cdName;

    private Date cdTime;

    private String barcode;

    private String repairId;
}
